package com.nanhang.service;

import com.nanhang.entity.Specification;
import com.nanhang.entity.SpecificationOption;
import com.nanhang.util.PageResult;
import com.nanhang.vo.SpecificationOptionVO;
import com.nanhang.vo.SpecificationVO;

import java.util.List;

public interface SpecificationService {
    List<Specification> findSpecification();

    PageResult<Specification> findByPage(Integer page, Integer pageSize);

    PageResult<Specification> search(Integer page, Integer pageSize, SpecificationVO specificationVO);

    boolean save(Specification specification);
}
